package com.groupbuying.orderconsumer.connector;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;
import java.util.Set;

/**
 * 服务间调用商户中心
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date
 * @des
 */

@Service
@FeignClient("bus-store")
public interface StoreFeign{
    @GetMapping("/counter/getStoreShopByCounterId")
    Map<String,String> getStoreShopByCounterId(@RequestParam Map<String, Object> params);

    @GetMapping("/storeAccountWxinfoRel/getOpenIds")
    Map<String, Set<String>> getOpenIds(@RequestParam("counterId") String counterId);



}